package com.joysuch.wwyt.core.repository;

import com.joysuch.wwyt.core.entity.BaseRoleDataAuth;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author : pp
 * @date : Created in 2021/4/13 11:12
 */
public interface BaseRoleDataAuthDao extends JpaRepository<BaseRoleDataAuth, Long> {
    void deleteByIdIn(List<Long> ids);

    List<BaseRoleDataAuth> findByDataAuthType(Integer dataAuthType);
}
